package com.hzx.service;

import com.hzx.pojo.Commodity;

import java.util.Collection;
import java.util.List;

public interface ItemService {
    //获取所有的推荐商品
    List getAllReCommand();

    Commodity getItemByPrimaryKey(long cid);

    Integer selectByKindId(long id);

    List getAllItems();

    List getAllItemsByUid(Integer uid);

    List getAllDemandByUid(Integer uid);

    Integer getNumbsByKindId(Integer id);

    List selectByKidAndPrice(Integer kid, Integer lo, Integer he);
}
